package com.sinodata.bsm.center.service.selfmainten;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sinodata.bsm.center.dao.BsmDao;

@Service
public class BsmService {
    @Autowired
    private BsmDao bsmDao;

    /**
     * 
    * @Title: querytables 
    * @Description: 查询bsm数据库table列表
    * @return
    * @throws Exception
    * @author qiaoww 
    * @return List
    * @throws
     */
    public List querytables() throws Exception {
        return bsmDao.queryTables();
    }

    /**
     * 
     * @Title: queryProcedure
     * @Description: 查询bsm数据库 存储过程列表
     * @return
     * @throws Exception
     * @author qiaoww
     * @return List
     * @throws
     */
    public List queryProcedure() throws Exception {
        return bsmDao.queryProcedure();
    }

    /**
     * 
    * @Title: queryTriggers 
    * @Description: 查询bsm数据库job列表
    * @throws Exception
    * @author qiaoww 
    * @return List
    * @throws
     */
    public List queryJobs() throws Exception {
        return bsmDao.queryJobs();
    }
}
